package com.ronghui.cash.service.impl;

import com.ronghui.cash.entity.FenqiBill;
import com.ronghui.cash.entity.OrdersFenqi;
import com.ronghui.cash.mapper.OrdersFenqiMapper;
import com.ronghui.cash.service.OrdersFenqiService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 订单分期表 服务实现类
 * </p>
 *
 * @author wiki
 * @since 2017-12-04
 */
@Service
public class OrdersFenqiServiceImpl extends ServiceImpl<OrdersFenqiMapper, OrdersFenqi> implements OrdersFenqiService {

    @Autowired
    OrdersFenqiMapper ordersFenqiMapper;
    @Override
    public List<FenqiBill> selectFenqiBill(Long userId, String currentMonth) {
        return ordersFenqiMapper.selectFenqiBill(userId, currentMonth);
    }
}
